﻿using System.Web;

namespace Cms.Web.Framework.Infrastructure.Wrappers
{
    public class CmsHttpResponse : ICmsHttpResponse
    {
        private readonly HttpResponse _response;

        public CmsHttpResponse(HttpResponse response)
        {
            _response = response;    
        }

        public void Redirect(string url)
        {
            _response.Redirect(url);
        }
    }
}
